home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Action 68 - Disc 1
/
cdaction-68.iso
/
bonus
/
strefaWWW.exe
/
strefaWWW
/
strefa www
/
obrazek.js
< prev
next >
Wrap
Text File
|
2001-10-07
|
466b
|
11 lines
function obrazek(nazwa,wymiar1,wymiar2)
{
center1=screen.width/2 - wymiar1/2;
center2=screen.height/2 - wymiar2/2;
okno=window.open("", "", "height="+wymiar2+",width="+wymiar1+", left="+center1+",top="+center2);
okno.document.open();
okno.document.write("<html>\n<head>\n<title>Strefa WWW</title>\n</head>\n<body style=\"margin:0px\">\n<a href=javascript:window.close()><img src="+nazwa+" border=0></a>\n</body>\n</html>");
okno.document.close();
}